package com.tfjybj.itoo.exam.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * DisciplineInfoModel
 * 正在考试的考试信息
 *
 * @author cll
 * @version 2.0.0
 * @since 2.0.0 2019年3月20日17:17:18
 */
@ApiModel(value = "ExaminationInfoModel：正在考试信息")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class ExaminationInfoModel implements Serializable {
    /**
     * te.id
     */
    @ApiModelProperty(value = "考试ID")
    private String id;

    /**
     * exam_name
     */
    @ApiModelProperty(value = "考试名称")
    private String examname;

    /**
     * score
     */
    @ApiModelProperty(value = "总分")
    private String score;

    /**
     * 开始时间
     */
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8"
    )
    @ApiModelProperty(value = "开始时间", required = true)
    private Date startTime;

    /**
     * 结束时间
     */
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8"
    )
    @ApiModelProperty(value = "结束时间", required = true)
    private Date endTime;

    /**
     * 考试时长
     */
    @ApiModelProperty(value = "考试时长", required = true, example = "0")
    private Integer examDuration;

    /**
     * 考试分类
     */
    @ApiModelProperty(value = "分类名字")
    private String classifyName;/** te_exam_classify_name */

    /**
     * 学生ID
     */
    @ApiModelProperty(value = "学生ID")
    private String studentid;

    /**
     * 考试状态
     */
    @ApiModelProperty(value = "考试状态")
    private String studentExamState;

    /**
     * 理论交卷日期时间
     */
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8"
    )
    @ApiModelProperty(value = "理论交卷日期时间")
    private Date shouldSubmitTime;

    /**
     * 已登录人数
     */
    @ApiModelProperty(value = "已登录人数")
    private String countAlreadyLogged;

    /**
     * 未登录人数
     */
    @ApiModelProperty(value = "未登录人数")
    private String countUnlisted;


}
